package cn.edu.scau.cmi.zhengweibo.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class SafeCompositeClient1 extends Application{

	public static void main(String[] args) {
		launch(args);
	}

	@Override
	public void start(Stage primaryStage) throws Exception {
		try {
			Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("cn/edu/scau/cmi/zhengweibo/client/view/SafeCompositeView.fxml"));
            Scene scene = new Scene(root);
            primaryStage.setScene(scene);
            primaryStage.setResizable(false);
            primaryStage.setTitle("安全组合模式");
            primaryStage.show();
        } catch(Exception e) {
            e.printStackTrace();
        }

	}
}
